From ae03051a24b77dbcfc44e92284d817bcb37c5762 Mon Sep 17 00:00:00 2001 From: daniel Date: Sat, 24 Sep 2016 17:15:08 +0200 Subject: [PATCH] Make WikiPage::getAutosummary emit deprecation warnings. Bug: T146164 Change-Id: Ibe76af8af3686c028e54923b9ce01b93af3032ab --- includes/page/WikiPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/page/WikiPage.php b/includes/page/WikiPage.php index 9befdcd389..928fc14ecb 100644 --- a/includes/page/WikiPage.php +++ b/includes/page/WikiPage.php @@ -3553,7 +3553,7 @@ class WikiPage implements Page, IDBAccessObject { // NOTE: stub for backwards-compatibility. assumes the given text is // wikitext. will break horribly if it isn't. - ContentHandler::deprecated( __METHOD__, '1.21' ); + wfDeprecated( __METHOD__, '1.21' ); $handler = ContentHandler::getForModelID( CONTENT_MODEL_WIKITEXT ); $oldContent = is_null( $oldtext ) ? null : $handler->unserializeContent( $oldtext ); -- 2.20.1